package com.naiterui.ehp.bs.doctor.service;

import com.naiterui.ehp.bp.support.exception.BusinessException;
import com.naiterui.ehp.bs.doctor.vo.patient.InquirerRelationVO;
import com.naiterui.ehp.bs.doctor.vo.patient.InquirerVO;

import java.util.List;

/**
 * @Description 患者就诊人
 * @Author gongbaoqiang
 * @Date 2020/7/10 3:45 PM
 */
public interface IPatientInquirerService {

    /**
     * 就诊人列表: 只返回有过会话的就诊人
     * @param patientId
     * @param doctorId
     * @return
     * @throws BusinessException
     */
    List<InquirerVO> list(Long patientId, Long doctorId) throws BusinessException;

    /**
     * 就诊人详情
     * @param sessionId
     * @return
     * @throws BusinessException
     */
    InquirerVO detail(String sessionId, Long patientId, Long doctorId) throws BusinessException;

    /**
     * 就诊人与患者关系：只返回有过会话的就诊人
     * @param doctorId
     * @return
     * @throws BusinessException
     */
    List<InquirerRelationVO> relationList(Long patientId, Long doctorId) throws BusinessException;


}
